#ifndef _PTP_TSNINSIGHT_H__
#define _PTP_TSNINSIGHT_H__


#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#include <string.h>/*memcpy*/
#include <strings.h>/*bzero*/

#include <unistd.h>
#include <errno.h>

#include <arpa/inet.h>/*htons,ntohs*/

#include <endian.h>/*htobeXX,beXXtoh,htoleXX,leXXtoh*/
#include <sys/types.h>
#include <sys/socket.h>

#include <linux/if_ether.h>/*struct ethhdr*/
#include <linux/ip.h>/*struct iphdr*/
#include <sys/ioctl.h>
#include <net/if.h>
#include <netpacket/packet.h>

#include "../../complib/libtsninsight/include/tsninsight.h"  



#include "8021AS_PTP.h"


#define TSNLIGHT_PORT 8089
#define OPENSYNC_PORT 9089

#define FININSH_SYNC  1



extern u8 G_NET_STATE;


void remote_pkt_process(u8 *pkt,u16 pkt_len, opensync_reg_data* register_data, sync_state_table* state_table);


#endif


